package com.yili.oa.service;

import com.yili.oa.entity.SearchBase;
import com.yili.oa.models.AllGame;
import com.yili.oa.models.FtGameKind;
import com.yili.oa.models.FtGamePlatform;
import com.yili.oa.vo.request.GameDataReq;

import java.util.List;

/**
 * @author lxr
 * @version v0.01
 * @date 2019/7/19 0019
 * @email 200890949@qq.com
 */
public interface GameService {

    public List<AllGame> getList(SearchBase searchBase);

    public void add(GameDataReq gameDataReq);

    public void update(GameDataReq gameDataReq);

    public boolean checkName(String gameName,Long gameId);

    public void delGame(List<Long> ids);

    public List<FtGameKind> getGameKind();

    public List<FtGamePlatform> getPlatform(long id);

    List<AllGame> getGame(long id);
}
